<!DOCTYPE html>
<html lang="en">
<include file="CommonSidebar:common-head"/>
<link rel="stylesheet" type="text/css" href="__ROOT__/Application/Admin/Public/css/common.css"/>
<link href="__PUBLIC__/LoadPading/LoadPading.css" rel="stylesheet">
<body>
<div id="wrapper">

    <!-- Navigation -->
    <include file="CommonSidebar:common-navbar"/>
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <h1 class="page-header">图片信息</h1>
            </div>
            <!-- /.col-lg-12 -->
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="alert alert-danger alert-dismissible" role="alert">
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                    <strong>注意!</strong>
                    建议<strong>广告图</strong>为横向宽高<strong>360*90</strong>像素的图片。
                </div>
                <div class="alert alert-danger alert-dismissible" role="alert">
                    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
                        <span aria-hidden="true">&times;</span>
                    </button>
                    <strong>注意!</strong>
                    建议<strong>轮播图</strong>为横向宽高<strong>360*250</strong>像素的图片。
                </div>
            </div>
        </div>
        <!-- /.row -->
        <div class="row">
            <div class="col-lg-12">
                <div class="panel panel-default">
                    <div class="panel-heading">
                        发布图片
                    </div>
                    <div class="panel-body">
                        <div class="row">
                            <div class="col-lg-12">
                                <form  action="{:U('save')}" method="post" enctype="multipart/form-data" >
                                    <div class="form-group">
                                        <label>图片位置</label>
                                        <select class="form-control" name="PAGE" required>
                                            <option value="">请选择...</option>
                                            <option value="1">主页</option>
                                            <option value="2">二级子页面1</option>
                                            <option value="3">二级子页面2</option>
                                            <option value="4">二级子页面3</option>
                                            <option value="5">二级子页面4</option>
                                            <option value="6">二级子页面5</option>
                                        </select>
                                    </div>
                                    <div class="form-group">
                                        <label>图片类型</label>
                                        <select class="form-control" name="TYPE" required>
                                            <option value="">请选择...</option>
                                            <option value="1">热销商品</option>
                                            <option value="2">底部浏览商品</option>
                                        </select>
                                    </div>

                                    <div class="form-group">
                                        <label>图片</label>

                                        <div class="goods-img-list">
                                            <input type="file" name="PIC_PATH" class="form-control">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div >
                                            <label>自定义链接</label>
                                            <input class="form-control" placeholder="链接地址"  name="URL">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div >
                                            <label>商品名称</label>
                                            <input class="form-control" placeholder="美媛春肾宝"  name="NAME">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <div >
                                            <label>商品价格</label>
                                            <input class="form-control" placeholder="10"  name="PRICE">
                                        </div>
                                    </div>
                                    <div class="form-group">
                                        <label>图片排序</label>

                                        <div class="goods-img-list">
                                            <input type="number" name="SORT" class="form-control" placeholder="1">
                                        </div>
                                    </div>
                                    <button type="submit" class="btn btn-next btn-default">提交</button>
                                    <!-- <button type="reset" class="btn btn-default">Reset Button</button> -->
                                </form>
                            </div>
                            <!-- /.col-lg-6 (nested) -->
                        </div>
                        <!-- /.row (nested) -->
                    </div>
                    <!-- /.panel-body -->
                </div>
                <!-- /.panel -->
            </div>
            <!-- /.col-lg-12 -->
        </div>
        <!-- /.row -->
    </div>
    <!-- /#page-wrapper -->

</div>


<!--图片管理-->
<include file="CommonSidebar:common-imageModal"/>


<include file="CommonSidebar:common-script"/>
<!-- Custom Theme JavaScript -->
<script src="__ROOT__/Application/Admin/Public/dist/js/sb-admin-2.js"></script>
<script type="text/javascript" src="__ROOT__/Application/Admin/Public/js/uploadPreview.js"></script>
<script type="text/javascript" src="__ROOT__/Application/Admin/Public/js/jquery.form.min.js"></script>
<script src="__PUBLIC__/LoadPading/LoadPading.js"></script>
<script type="text/javascript" src="__ROOT__/Application/Admin/Public/js/pic-management.js"></script>
</body>
</html>
